﻿@using TjZheng.Logger.DataEntity;
@inherits CMSWebViewPage<LogInfo>
@{
    ViewBag.Title = "日志详情";
    Layout = "~/Views/Shared/_DetailLayout.cshtml";
}

<div class="easyui-layout" data-options="fit:true">
    <div data-options="region:'center',border:false">
        <div class="top-block">
            <div id="toolbar_loginfo" class="datagrid-toolbar top-tool">
                <a onclick="Back();" class="easyui-linkbutton" data-options="iconCls:'icon-back',plain:true">返回</a>
            </div>
        </div>
        @*@Html.AntiForgeryToken()*@
        <table class="tblContent">
            <colgroup>
                <col class="colTitle">
                <col class="colContent" />
                <col class="colTitle" />
                <col class="colContent" />
            </colgroup>
            <tr>
                <td>名称:</td>
                <td>@Model.LogName</td>
                <td>记录时间:</td>
                <td>@Model.LogDate.ToString("yyyy-MM-dd HH:mm:ss")</td>
            </tr>
            <tr>
                <td>日志类型:</td>
                <td>@Model.LogType</td>
                <td>模块类型:</td>
                <td>@Model.ModuleType</td>
            </tr>
            <tr>
                <td>运行主机:</td>
                <td>@Model.ServerIP</td>
                <td>客户端:</td>
                <td>@Model.ClientIP</td>
            </tr>
            <tr>
                <td>上次请求地址:</td>
                <td colspan="3">@Model.LastRequestUrl</td>
            </tr>
            <tr>
                <td>请求地址:</td>
                <td colspan="3">@Model.RequestUrl</td>
            </tr>
            <tr>
                <td>标题:</td>
                <td colspan="3">@Model.LogTitle</td>
            </tr>
            <tr>
                <td>内容:</td>
                <td colspan="3">@Html.Raw(Model.LogContent)</td>
            </tr>
        </table>
    </div>
</div>

@section Bottom{
    <script type="text/javascript">
        function Back() {
            TransferToUrl("/loginfo/loginfoindex");
        }
    </script>
}